package com.anjie.powerproject.service.impl;

import com.anjie.powerproject.entity.Manager;
import com.anjie.powerproject.repository.ManagerRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ManagerJLServiceImpl {
    @Autowired
    private ManagerRepository managerRepository;

    public Manager findManagerByManagerNameAndManagerPwd(String managerName, String managerPwd){
        return managerRepository.findManagerByManagerNameAndManagerPwd(managerName,managerPwd);
    }
}
